package top.llove.service;

import org.eclipse.jgit.api.errors.GitAPIException;
import org.springframework.web.multipart.MultipartFile;
import top.llove.utils.res.ApiResult;

import java.io.IOException;

/**
 * 图床Service
 *
 * @author: 幸会
 * @date: 2021/6/8 20:09
 * @email: 1846724873@qq.com
 * @description: 图床Service
 * version: 1.0
 */
public interface ImageService {

    ApiResult upload(MultipartFile file) throws IOException, GitAPIException;

}
